import http from '@/utils/http';
import { LoginType } from '../types/user';

/**
 * @description: 登录接口
 * @param {LoginType} params
 * @return {*}
 */
export const LoginApi = (params: LoginType): any => {
  return http.post('/login', params);
};
